package com.imagine.entity.vo;

/**
 * Created by liangyue on 2017/11/1.
 */
public class BargainVo {
    private String bargainTime;         //成交时间
    private String securityId;          //股票代码
    private int delegationId;           //委托编号
    private String securityName;        //证券名称
    private String delegationDirection; //委托方向
    private int bargainNum;             //成交数量
    private double bargainPrice;        //成交价格
    private double bargainAmount;       //成交金额

    public BargainVo(){}
    public BargainVo(String bargainTime, String securityId, int delegationId, String securityName, String delegationDirection, int bargainNum, double bargainPrice, double bargainAmount) {
        this.bargainTime = bargainTime;
        this.securityId = securityId;
        this.delegationId = delegationId;
        this.securityName = securityName;
        this.delegationDirection = delegationDirection;
        this.bargainNum = bargainNum;
        this.bargainPrice = bargainPrice;
        this.bargainAmount = bargainAmount;
    }

    public String getBargainTime() {
        return bargainTime;
    }

    public void setBargainTime(String bargainTime) {
        this.bargainTime = bargainTime;
    }

    public String getSecurityId() {
        return securityId;
    }

    public void setSecurityId(String securityId) {
        this.securityId = securityId;
    }

    public int getDelegationId() {
        return delegationId;
    }

    public void setDelegationId(int delegationId) {
        this.delegationId = delegationId;
    }

    public String getSecurityName() {
        return securityName;
    }

    public void setSecurityName(String securityName) {
        this.securityName = securityName;
    }

    public String getDelegationDirection() {
        return delegationDirection;
    }

    public void setDelegationDirection(String delegationDirection) {
        this.delegationDirection = delegationDirection;
    }

    public int getBargainNum() {
        return bargainNum;
    }

    public void setBargainNum(int bargainNum) {
        this.bargainNum = bargainNum;
    }

    public double getBargainPrice() {
        return bargainPrice;
    }

    public void setBargainPrice(double bargainPrice) {
        this.bargainPrice = bargainPrice;
    }

    public double getBargainAmount() {
        return bargainAmount;
    }

    public void setBargainAmount(double bargainAmount) {
        this.bargainAmount = bargainAmount;
    }

    @Override
    public String toString() {
        return "Bargain{" +
                "bargainTime='" + bargainTime + '\'' +
                ", securityId='" + securityId + '\'' +
                ", delegationId=" + delegationId +
                ", securityName='" + securityName + '\'' +
                ", delegationDirection='" + delegationDirection + '\'' +
                ", bargainNum=" + bargainNum +
                ", bargainPrice=" + bargainPrice +
                ", bargainAmount=" + bargainAmount +
                '}';
    }
}
